﻿package hunterCommonlib.ui 
{
	import flash.display.Graphics;
	import flash.display.LineScaleMode;
	import flash.display.Shape;
	import flash.display.StageAlign;
	
	/**
	 * ...
	 * @author ...
	 */
	public class Draw 
	{
		public static var thickness:Number;
		public static var color:uint;
		public static var alhpa:Number=1.0;
		public static var pixelHinting:Boolean;
		public static var scaleMode:String=LineScaleMode.NORMAL;
		public static var caps:String;
		public static var joints:String;
		public static var miterLimit:Number = 3;
		
		
		public function Draw() 
		{
		}
		public static lineStyle():void {
			
		}
		public static lineGradientStyle():void {
			
		}
		public static function drawCirl():Shape {
			
		}
		public static function drawRect(width:Number,height:Number,align:String):Shape {
			var x = 0;
			var y = 0;
			
			switch(align) {
				case StageAlign.LEFT
				
			}
			var shape:Shape = new Shape();
			shape.graphics.drawRoundRect(x, y, width, height, ellipseWidth, ellipseHeight);
			return shape;
		}
		public static function drawRoundRect():Shape {
			
		}
		public static function setStyle(graphics:Graphics):void {
			graphics.lineStyle(thickness, color, alpha, pixelHinting, scaleMode, caps, joints, miterLimit);
			graphics.lineGradientStyle(TypeError, color, alphas, rations, matrix, spreadMethod, interpolationMethod, focalPointRation);
		}
		public static function setGradientStyle():void {
			
		}
		
	}
	
}